Skip to content

Docs -> Reference (Major version consolidation) Base#436

Open
Ethan-Arrowood wants to merge 53 commits intomainfrom
major-version-reorg
Open

Docs -> Reference (Major version consolidation) Base#436
Ethan-Arrowood wants to merge 53 commits intomainfrom
major-version-reorg

Conversation

@Ethan-Arrowood
Copy link
Copy Markdown
Member

@Ethan-Arrowood Ethan-Arrowood commented Feb 4, 2026

This is the base branch for the major Docs to Reference migration and major version consolidation work.

Review the v4-* documents in the root for information on the project plan. Going to leverage agents to heavily automate this work but it will still involve lots of human-in-the-loop too.

Tracking migration of v4 documentation to consolidated structure.

Phase 1A - Simple Sections

Phase 1B - Medium Complexity

Phase 1C - Complex Sections

Phase 1D - Cross-Cutting

Phase 1E - Legacy

  • #[PR] Legacy Content

Part 2 - Link Resolution

  • Links resolved

Part 3 - Cross-References

  • Release notes updated
  • Learn guides updated

Part 4 - Finalization

  • Sidebars created
  • Old content removed
  • Redirects configured

High level ideas from reviews:

Do you think it would be possible to have all our "Added in: version" text be in a smaller/different font? And/or maybe right aligned, so it is little more subtle.
ref

@Ethan-Arrowood Ethan-Arrowood changed the title do not look do not look (Experimenting with Reference & Versioning reorganization) Feb 4, 2026
@Ethan-Arrowood Ethan-Arrowood force-pushed the major-version-reorg branch 2 times, most recently from f64304b to c8fd63c Compare February 19, 2026 01:22
@Ethan-Arrowood Ethan-Arrowood changed the title do not look (Experimenting with Reference & Versioning reorganization) Docs -> Reference (Major version consolidation) Base Feb 19, 2026
Ethan-Arrowood and others added 3 commits February 19, 2026 11:09
- Temporarily disable local search plugin (will re-enable later)
- Set onBrokenLinks to 'warn' to allow build during migration
- Add /reference redirect page to handle versioned docs structure
- Create index.md files for reference directories
- Update sidebars to autogenerate from directory structure
- Document temporary changes in project brief for future re-enablement

The site now builds successfully and is ready for migration PRs.
Broken link warnings are expected as content is migrated.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to pr-436 February 19, 2026 18:40 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

* docs: migrate CLI section to v4 consolidated reference

Migrated Harper CLI documentation from versioned_docs to new
reference_versioned_docs/version-v4/cli/ structure following the v4
documentation consolidation plan.

Files created:
- reference_versioned_docs/version-v4/cli/overview.md
- reference_versioned_docs/version-v4/cli/commands.md
- reference_versioned_docs/version-v4/cli/operations-api-commands.md
- reference_versioned_docs/version-v4/cli/authentication.md
- migration-context/link-placeholders/cli-link-placeholders.md

Key Features:

Version Annotations - All 72 CLI operations now include "Available Since"
information with complete version coverage:
- 51 operations from v4.3.0
- 11 operations from v4.4.0 (SSH and certificate operations)
- 3 data operations from v4.4.9 (insert, update, upsert)
- 3 status operations from v4.6.0
- Individual operations from v4.7.2 and v4.7.3

Authentication Documentation - Corrected to explain Unix domain socket
authentication for local operations (automatically authenticated as
superuser). Detailed environment variable and command parameter methods
for remote operations with security best practices.

Operations API Commands - Complete operations table with all 72 operations
categorized by function, command aliases, parameter formatting guidelines,
and cross-references to related sections via tip callouts.

Process Management - Documented PID file location at <ROOTPATH>/hdb.pid,
clarified foreground/background behavior for commands, and updated dev
mode features.

Link Management - 12 internal CLI section links resolved using relative
paths. ~96 cross-section TODO links documented for future resolution in
cli-link-placeholders.md.

Content Consolidation - Merged content from v4.1 through v4.7 with inline
version annotations following Node.js documentation patterns.

Migration approach:
- Single consolidated v4 reference (no separate v4.1-v4.7 versions)
- Inline version annotations for feature availability
- TODO: prefix for cross-section links pending future migrations
- Comprehensive source attribution in HTML comments
- Learn guide links use /learn paths
- Consistent use of 'harper' command throughout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fixup! docs: migrate CLI section to v4 consolidated reference

* fixup! docs: migrate CLI section to v4 consolidated reference

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-436 February 23, 2026 22:34 Inactive
* docs: migrate GraphQL Querying section to v4 consolidated reference

Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fixup! docs: migrate GraphQL Querying section to v4 consolidated reference

* fixup! fixup! docs: migrate GraphQL Querying section to v4 consolidated reference

* Update reference_versioned_docs/version-v4/graphql-querying/overview.md

Co-authored-by: Kris Zyp <kriszyp@gmail.com>

* remove coming soon sections

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Kris Zyp <kriszyp@gmail.com>
@github-actions github-actions bot temporarily deployed to pr-436 February 24, 2026 17:43 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

* docs: migrate Studio section to v4 consolidated reference

Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fixup! docs: migrate Studio section to v4 consolidated reference

* fixup! docs: migrate Studio section to v4 consolidated reference

* fixup! docs: migrate Studio section to v4 consolidated reference

* fixup! docs: migrate Studio section to v4 consolidated reference

* fixup! fixup! docs: migrate Studio section to v4 consolidated reference

* docs: update plans to clarify Studio vs Harper Cloud Studio distinction

* manual edits

* edit credentials/authentication info

* move additional cloud docs over per discussion

* simplify legacy cloud

* remove reference to cloud in studio docs.

* update link placeholders doc

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to pr-436 February 24, 2026 19:50 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

Ethan-Arrowood and others added 3 commits February 24, 2026 13:08
* docs: migrate Fastify Routes section to v4 consolidated reference

Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fixup! docs: migrate Fastify Routes section to v4 consolidated reference

* manual tweaks

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to pr-436 February 24, 2026 20:13 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-436 February 24, 2026 21:23 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-436 March 31, 2026 15:04 Inactive
@github-actions github-actions bot temporarily deployed to pr-436 March 31, 2026 15:10 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-436 March 31, 2026 15:30 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-436 March 31, 2026 15:34 Inactive
@github-actions github-actions bot temporarily deployed to pr-436 March 31, 2026 15:39 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-436 March 31, 2026 17:08 Inactive
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@Ethan-Arrowood
Copy link
Copy Markdown
Member Author

For posterity, I've pushed an archive of this branch that includes the planning documents to planning-docs-archive. This contains a retro on the work for a future blog post / talk.

@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-436

This preview will update automatically when you push new commits.

@Ethan-Arrowood
Copy link
Copy Markdown
Member Author

For reviewers. We've already reasonably reviewed all content prior to merging them here. Due to complications with redirects, I had to remove the old docs files and create the v5 content too so I could get everything wired up. You can try reviewing commits or ranges; I tried my best to do things in an organized way, but I wasn't overly strict about it.

Here are some aspects I recommend reviewing either via the preview deployment or by searching for the relative source content:

  • New root page /
    • source: src/pages/index.mdx
  • Reference index pages /reference/v5 and /reference/v4
    • source: reference/index.md and reference_versioned_docs/version-v4/index.md
  • Sidebar styles and organization (order of sections)
    • source: sidebarsReference.ts and reference_versioned_sidebars/version-v4-sidebars.json
  • VersionBadge (the "Added in" or "Changed in" text on certain reference sections
    • source: src/components/VersionBadge.tsx
  • Redirects
    • source: redirects.ts and historic-redirects.ts

@Ethan-Arrowood Ethan-Arrowood marked this pull request as ready for review March 31, 2026 17:37
@Ethan-Arrowood Ethan-Arrowood requested a review from a team as a code owner March 31, 2026 17:37
Copy link
Copy Markdown
Contributor

@dawsontoth dawsontoth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the "added in" looks reasonable -- it could be lighter if we want, but it's already de-emphasized a good bit, IMO.

Copy link
Copy Markdown
Member

@kriszyp kriszyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really nice, great layout, styling (version badge is perfect) and organization!

I think the only things I might move or adjust:

  • I think REST querying page should be the first one after REST overview (in order of priority)
  • I would like to have an page dedicated to introducing the host environment, the listing of the set of imports from harper, also accessible as global variables. But that is more of an addition that can come later.
  • Probably would still prefer SQL listed under operations, partly because it puts it below the fold.

None of these should block merging, this looks really good.

I think the "added in" looks reasonable

The styling is great. What do you think about right align? (so it consumes less vertical space)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants